import { createApp } from 'vue'
import App from './App.vue'
import {router} from './router'
import {createPinia} from 'pinia'
import './router/permission'
import MPlugin from './customPlugin'
const pinia = createPinia()
const app = createApp(App)
app.use(router).use(pinia).use(MPlugin).mount('#app');

// routeTreeData.forEach((item:any)=>{
//     router.addRoute(item)
// })
// console.log(router.options.routes)